// 声明函数类型
interface add{
    (num:number):number
}

let addFun:add=(num) => {
    return num+10
}

// 构造函数
interface PersonCustructor{
    new (name:string) : void
}

// 继承
type People={
    name:string
}

interface Work{
    doSomeThing:() => void;
}

interface Chinese extends People, Work{
    age:number
}